CREATE TABLE [dbo].[TCPLAN_LIQU]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[NU_PLAN] [dbo].[TD_VC_010] NOT NULL,
[CO_LIQU] [dbo].[TD_VC_020] NULL,
[FE_PLAN] [dbo].[TD_DT_001] NOT NULL,
[CO_ESTA_PLAN] [dbo].[TD_VC_003] NULL,
[ST_CONT] [dbo].[TD_VC_001_INTE] NULL CONSTRAINT [DF__TCPLAN_LI__ST_CO__3EDC53F0] DEFAULT ('N'),
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TCPLAN_LI__CO_US__40C49C62] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TCPLAN_LI__FE_US__41B8C09B] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TCPLAN_LI__CO_US__42ACE4D4] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TCPLAN_LI__FE_US__43A1090D] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TCPLAN_LIQU] WITH NOCHECK ADD CONSTRAINT [CK__TCPLAN_LI__ST_CO__3FD07829] CHECK NOT FOR REPLICATION (([ST_CONT]='P' OR [ST_CONT]='N'))
GO
ALTER TABLE [dbo].[TCPLAN_LIQU] ADD CONSTRAINT [PK__TCPLAN_L__C1C55F4F37510C18] PRIMARY KEY CLUSTERED  ([CO_EMPR], [NU_PLAN]) ON [PRIMARY]
GO
